package com.hliushi.drools.entity;

/**
 * 订单
 *
 * @author llhuang10
 * @date 2021/10/11 11:25
 */
public class Order {

    /**
     * 订单原始价格, 即优惠前的价格
     */
    private Double originalPrice;


    /**
     * 订单真实价格, 即优惠后的价格
     */
    private Double realPrice;

    public Double getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(Double originalPrice) {
        this.originalPrice = originalPrice;
    }

    public Double getRealPrice() {
        return realPrice;
    }

    public void setRealPrice(Double realPrice) {
        this.realPrice = realPrice;
    }

    @Override
    public String toString() {
        return "Order{" +
                "originalPrice=" + originalPrice +
                ", realPrice=" + realPrice +
                '}';
    }
}
